package structural.decorator.v1;

/**
 * @Author: 蔡翔
 * @Date: 2019/12/9 10:40
 * @Version 1.0
 */
public class BatterCakeWithSausage extends BatterCakeWithEgg {
    @Override
    public String getDesc() {
        return super.getDesc()+"加一根香肠";
    }

    @Override
    public int cost() {
        return super.cost()+2;
    }
}
